<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
        <div class="center_ages" id="ageStepJs">
        	<ol>
            	<li><a href="javascript:clickAge(1);" id='age_like1' class="age_f1_selected">0-1岁</a></li>
                <li><a href="javascript:clickAge(2);" id='age_like2' class="age_f2">1-3岁</a></li>
                <li><a href="javascript:clickAge(3);" id='age_like3' class="age_f3">3-6岁</a></li>
                <li><a href="javascript:clickAge(4);" id='age_like4' class="age_f4">6岁以上</a></li>
                <li><a href="javascript:clickAge(5);" id='age_like5' class="age_f5">6岁以上</a></li>
                <li><a href="javascript:clickAge(6);" id='age_like6' class="age_f6">孕妈专区</a></li>
            </ol>
        </div>
<script type="text/javascript">
<!--
var ageId=1;//年龄段
function clickAge(id){
	ageId=id;
	for(var i=1;i<=6;i++){
		$("#age_like"+i).attr("class", i==id?"age_f"+i+"_selected":"age_f"+i);
	}	
	doQuery('A000');
	doQuery('B000');
	doQuery('C000');
	doQuery('D000');
}
//-->
</script>